'use strict';

angular.module('fireProtectionApp', [
  'ngCookies',
  'ngResource',
  'ngSanitize',
  'ngRoute',
  'memoryServices',
  'ngTable',
  'ui.bootstrap',
  'toaster',
  'chieffancypants.loadingBar'
])
  .config(function ($routeProvider) {
    $routeProvider
      .when('/', {
        templateUrl: 'views/welcome.html',
        controller: ''
      })


    .when('/orgTreeList', {
        templateUrl: 'views/OrgTreeFancy.html',
        controller: 'TreeCtrl'
    })
    .when('/services', {
        templateUrl: 'views/TestServices.html',
        controller: 'MainCtrl'
    })
    .when('/equations', {
        templateUrl: 'views/EquationsList.html',
        controller: 'EquationsController'
    })

    .when('/colorList', {
        templateUrl: 'views/ColorList.html',
        controller: 'ThemeController'
    })



        .otherwise({
        redirectTo: '/views/welcome.html'
      });
  });
